const express = require('express')
const router = express.Router()
const likeHandle = require('./handle')
const multipart = require('connect-multiparty')
const multipartMiddleware = multipart()
// 点赞
router.post('/addlike', multipartMiddleware, likeHandle.addLike)
router.post('/dellike', multipartMiddleware, likeHandle.delLike)
module.exports = router